package com.ykyl.config;

import org.springframework.context.annotation.*;
// import org.springframework.security.access.SecurityConfig;
// import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan({"com.ykyl.service"})
@PropertySource({"classpath:jdbc.properties", "classpath:redis.properties"})
@Import({
        JdbcConfig.class, MybatisConfig.class,
        RedisConfig.class, SecurityConfig.class, TokenAuthorizationManager.class})
@EnableTransactionManagement
public class SpringConfig {
}

